package cn.iocoder.yudao.module.ao.controller.admin.building.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 建筑物信息新增/修改 Request VO")
@Data
public class BuildingSaveReqVO {

    @Schema(description = "建筑物ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1870")
    private Long buildingId;

    @Schema(description = "学校ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22172")
    @NotNull(message = "学校ID不能为空")
    private Long schoolId;

    @Schema(description = "建筑物名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "建筑物名称不能为空")
    private String buildingName;

    @Schema(description = "建筑物编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "建筑物编码不能为空")
    private String buildingCode;

    @Schema(description = "建筑类型（教学楼/实验楼/办公楼/宿舍楼）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "建筑类型（教学楼/实验楼/办公楼/宿舍楼）不能为空")
    private String buildingType;

    @Schema(description = "楼层数", requiredMode = Schema.RequiredMode.REQUIRED, example = "28142")
    @NotNull(message = "楼层数不能为空")
    private Integer floorCount;

    @Schema(description = "具体位置")
    private String address;

    @Schema(description = "管理员ID", example = "19311")
    private Long managerId;

    @Schema(description = "建筑描述", example = "随便")
    private String description;

    @Schema(description = "状态（0正常 1维修 2停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（0正常 1维修 2停用）不能为空")
    private Integer status;

}